.custom-app-logo-container {
  position: relative;
  display: inline-block;
}

.custom-app-logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
  border-radius: 30px;
}

.custom-app-logo-overlay:hover {
  opacity: 1;
}

.custom-app-logo-overlay.is-uploading {
  opacity: 1;
  cursor: wait;
}

.custom-app-logo-overlay:disabled {
  cursor: not-allowed;
}

.custom-app-logo-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
  text-align: center;
  padding: 1rem;
}

.custom-app-logo-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.custom-app-logo-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

/* Animation for uploading state */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.custom-app-logo-overlay.is-uploading .custom-app-logo-icon {
  animation: pulse 1.5s ease-in-out infinite;
}
